home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Resources / Online / HTML4 / loose.dtd < prev    next >
Text File  |  1999-08-24  |  46KB  |  1,096 lines

  1. <!--
  2.     This is the HTML 4.01 Transitional DTD, which includes
  3.     presentation attributes and elements that W3C expects to phase out
  4.     as support for style sheets matures. Authors should use the Strict
  5.     DTD when possible, but may use the Transitional DTD when support
  6.     for presentation attribute and elements is required.
  7.  
  8.     HTML 4.01 includes mechanisms for style sheets, scripting,
  9.     embedding objects, improved support for right to left and mixed
  10.     direction text, and enhancements to forms for improved
  11.     accessibility for people with disabilities.
  12.  
  13.           Draft: $Date: 1999/06/23 21:53:14 $
  14.  
  15.           Authors:
  16.               Dave Raggett <dsr@w3.org>
  17.               Arnaud Le Hors <lehors@w3.org>
  18.               Ian Jacobs <ij@w3.org>
  19.  
  20.     Further information about HTML 4.01 is available at:
  21.  
  22.         http://www.w3.org/TR/html40
  23. -->
  24. <!ENTITY % HTML.Version "-//W3C//DTD HTML 4.01 Transitional//EN"
  25.   -- Typical usage:
  26.  
  27.     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  28.             "http://www.w3.org/TR/html40/loose.dtd">
  29.     <html>
  30.     <head>
  31.     ...
  32.     </head>
  33.     <body>
  34.     ...
  35.     </body>
  36.     </html>
  37.  
  38.     The URI used as a system identifier with the public identifier allows
  39.     the user agent to download the DTD and entity sets as needed.
  40.  
  41.     The FPI for the Strict HTML 4.01 DTD is:
  42.  
  43.         "-//W3C//DTD HTML 4.01//EN"
  44.  
  45.     and its URI is:
  46.  
  47.         http://www.w3.org/TR/html40/strict.dtd
  48.  
  49.     Authors should use the Strict DTD unless they need the
  50.     presentation control for user agents that don't (adequately)
  51.     support style sheets.
  52.  
  53.     If you are writing a document that includes frames, use 
  54.     the following FPI:
  55.  
  56.         "-//W3C//DTD HTML 4.01 Frameset//EN"
  57.  
  58.     with the URI:
  59.  
  60.         http://www.w3.org/TR/html40/frameset.dtd
  61.  
  62.     The following URIs are supported in relation to HTML 4.01
  63.  
  64.     "http://www.w3.org/TR/html40/strict.dtd" (Strict DTD)
  65.     "http://www.w3.org/TR/html40/loose.dtd" (Loose DTD)
  66.     "http://www.w3.org/TR/html40/frameset.dtd" (Frameset DTD)
  67.     "http://www.w3.org/TR/html40/HTMLlat1.ent" (Latin-1 entities)
  68.     "http://www.w3.org/TR/html40/HTMLsymbol.ent" (Symbol entities)
  69.     "http://www.w3.org/TR/html40/HTMLspecial.ent" (Special entities)
  70.  
  71.     These URIs point to the latest version of each file. To reference
  72.     this specific revision use the following URIs:
  73.  
  74.     "http://www.w3.org/TR/1999/PR-html40-19990824/strict.dtd"
  75.     "http://www.w3.org/TR/1999/PR-html40-19990824/loose.dtd"
  76.     "http://www.w3.org/TR/1999/PR-html40-19990824/frameset.dtd"
  77.     "http://www.w3.org/TR/1999/PR-html40-19990824/HTMLlat1.ent"
  78.     "http://www.w3.org/TR/1999/PR-html40-19990824/HTMLsymbol.ent"
  79.     "http://www.w3.org/TR/1999/PR-html40-19990824/HTMLspecial.ent"
  80.  
  81. -->
  82.  
  83. <!--================== Imported Names ====================================-->
  84. <!-- Feature Switch for frameset documents -->
  85. <!ENTITY % HTML.Frameset "IGNORE">
  86.  
  87. <!ENTITY % ContentType "CDATA"
  88.     -- media type, as per [RFC2045]
  89.     -->
  90.  
  91. <!ENTITY % ContentTypes "CDATA"
  92.     -- comma-separated list of media types, as per [RFC2045]
  93.     -->
  94.  
  95. <!ENTITY % Charset "CDATA"
  96.     -- a character encoding, as per [RFC2045]
  97.     -->
  98.  
  99. <!ENTITY % Charsets "CDATA"
  100.     -- a space separated list of character encodings, as per [RFC2045]
  101.     -->
  102.  
  103. <!ENTITY % LanguageCode "NAME"
  104.     -- a language code, as per [RFC1766]
  105.     -->
  106.  
  107. <!ENTITY % Character "CDATA"
  108.     -- a single character from [ISO10646] 
  109.     -->
  110.  
  111. <!ENTITY % LinkTypes "CDATA"
  112.     -- space-separated list of link types
  113.     -->
  114.  
  115. <!ENTITY % MediaDesc "CDATA"
  116.     -- single or comma-separated list of media descriptors
  117.     -->
  118.  
  119. <!ENTITY % URI "CDATA"
  120.     -- a Uniform Resource Identifier,
  121.        see [URI]
  122.     -->
  123.  
  124. <!ENTITY % Datetime "CDATA" -- date and time information. ISO date format -->
  125.  
  126.  
  127. <!ENTITY % Script "CDATA" -- script expression -->
  128.  
  129. <!ENTITY % StyleSheet "CDATA" -- style sheet data -->
  130.  
  131. <!ENTITY % FrameTarget "CDATA" -- render in this frame -->
  132.  
  133.  
  134. <!ENTITY % Text "CDATA">
  135.  
  136.  
  137. <!-- Parameter Entities -->
  138.  
  139. <!ENTITY % head.misc "SCRIPT|STYLE|META|LINK|OBJECT" -- repeatable head elements -->
  140.  
  141. <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
  142.  
  143. <!ENTITY % list "UL | OL |  DIR | MENU">
  144.  
  145. <!ENTITY % preformatted "PRE">
  146.  
  147. <!ENTITY % Color "CDATA" -- a color using sRGB: #RRGGBB as Hex values -->
  148.  
  149. <!-- There are also 16 widely known color names with their sRGB values:
  150.  
  151.     Black  = #000000    Green  = #008000
  152.     Silver = #C0C0C0    Lime   = #00FF00
  153.     Gray   = #808080    Olive  = #808000
  154.     White  = #FFFFFF    Yellow = #FFFF00
  155.     Maroon = #800000    Navy   = #000080
  156.     Red    = #FF0000    Blue   = #0000FF
  157.     Purple = #800080    Teal   = #008080
  158.     Fuchsia= #FF00FF    Aqua   = #00FFFF
  159.  -->
  160.  
  161. <!ENTITY % bodycolors "
  162.   bgcolor     %Color;        #IMPLIED  -- document background color --
  163.   text        %Color;        #IMPLIED  -- document text color --
  164.   link        %Color;        #IMPLIED  -- color of links --
  165.   vlink       %Color;        #IMPLIED  -- color of visited links --
  166.   alink       %Color;        #IMPLIED  -- color of selected links --
  167.   ">
  168.  
  169. <!--================ Character mnemonic entities =========================-->
  170.  
  171. <!ENTITY % HTMLlat1 PUBLIC
  172.    "-//W3C//ENTITIES Latin1//EN//HTML"
  173.    "http://www.w3.org/TR/1999/PR-html40-19990824/HTMLlat1.ent">
  174. %HTMLlat1;
  175.  
  176. <!ENTITY % HTMLsymbol PUBLIC
  177.    "-//W3C//ENTITIES Symbols//EN//HTML"
  178.    "http://www.w3.org/TR/1999/PR-html40-19990824/HTMLsymbol.ent">
  179. %HTMLsymbol;
  180.  
  181. <!ENTITY % HTMLspecial PUBLIC
  182.    "-//W3C//ENTITIES Special//EN//HTML"
  183.    "http://www.w3.org/TR/1999/PR-html40-19990824/HTMLspecial.ent">
  184. %HTMLspecial;
  185. <!--=================== Generic Attributes ===============================-->
  186.  
  187. <!ENTITY % coreattrs
  188.  "id          ID             #IMPLIED  -- document-wide unique id --
  189.   class       CDATA          #IMPLIED  -- space separated list of classes --
  190.   style       %StyleSheet;   #IMPLIED  -- associated style info --
  191.   title       %Text;         #IMPLIED  -- advisory title --"
  192.   >
  193.  
  194. <!ENTITY % i18n
  195.  "lang        %LanguageCode; #IMPLIED  -- language code --
  196.   dir         (ltr|rtl)      #IMPLIED  -- direction for weak/neutral text --"
  197.   >
  198.  
  199. <!ENTITY % events
  200.  "onclick     %Script;       #IMPLIED  -- a pointer button was clicked --
  201.   ondblclick  %Script;       #IMPLIED  -- a pointer button was double clicked--
  202.   onmousedown %Script;       #IMPLIED  -- a pointer button was pressed down --
  203.   onmouseup   %Script;       #IMPLIED  -- a pointer button was released --
  204.   onmouseover %Script;       #IMPLIED  -- a pointer was moved onto --
  205.   onmousemove %Script;       #IMPLIED  -- a pointer was moved within --
  206.   onmouseout  %Script;       #IMPLIED  -- a pointer was moved away --
  207.   onkeypress  %Script;       #IMPLIED  -- a key was pressed and released --
  208.   onkeydown   %Script;       #IMPLIED  -- a key was pressed down --
  209.   onkeyup     %Script;       #IMPLIED  -- a key was released --"
  210.   >
  211.  
  212. <!-- Reserved Feature Switch -->
  213. <!ENTITY % HTML.Reserved "IGNORE">
  214.  
  215. <!-- The following attributes are reserved for possible future use -->
  216. <![ %HTML.Reserved; [
  217. <!ENTITY % reserved
  218.  "datasrc     %URI;          #IMPLIED  -- a single or tabular Data Source --
  219.   datafld     CDATA          #IMPLIED  -- the property or column name --
  220.   dataformatas (plaintext|html) plaintext -- text or html --"
  221.   >
  222. ]]>
  223.  
  224. <!ENTITY % reserved "">
  225.  
  226. <!ENTITY % attrs "%coreattrs; %i18n; %events;">
  227.  
  228. <!ENTITY % align "align (left|center|right|justify)  #IMPLIED"
  229.                    -- default is left for ltr paragraphs, right for rtl --
  230.   >
  231.  
  232. <!--=================== Text Markup ======================================-->
  233.  
  234. <!ENTITY % fontstyle
  235.  "TT | I | B | U | S | STRIKE | BIG | SMALL">
  236.  
  237. <!ENTITY % phrase "EM | STRONG | DFN | CODE |
  238.                    SAMP | KBD | VAR | CITE | ABBR | ACRONYM" >
  239.  
  240. <!ENTITY % special
  241.    "A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT |
  242.     MAP | Q | SUB | SUP | SPAN | BDO | IFRAME">
  243.  
  244. <!ENTITY % formctrl "INPUT | SELECT | TEXTAREA | LABEL | BUTTON">
  245.  
  246. <!-- %inline; covers inline or "text-level" elements -->
  247. <!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; | %formctrl;">
  248.  
  249. <!ELEMENT (%fontstyle;|%phrase;) - - (%inline;)*>
  250. <!ATTLIST (%fontstyle;|%phrase;)
  251.   %attrs;                              -- %coreattrs, %i18n, %events --
  252.   >
  253.  
  254. <!ELEMENT (SUB|SUP) - - (%inline;)*    -- subscript, superscript -->
  255. <!ATTLIST (SUB|SUP)
  256.   %attrs;                              -- %coreattrs, %i18n, %events --
  257.   >
  258.  
  259. <!ELEMENT SPAN - - (%inline;)*         -- generic language/style container -->
  260. <!ATTLIST SPAN
  261.   %attrs;                              -- %coreattrs, %i18n, %events --
  262.   %reserved;                   -- reserved for possible future use --
  263.   >
  264.  
  265. <!ELEMENT BDO - - (%inline;)*          -- I18N BiDi over-ride -->
  266. <!ATTLIST BDO
  267.   %coreattrs;                          -- id, class, style, title --
  268.   lang        %LanguageCode; #IMPLIED  -- language code --
  269.   dir         (ltr|rtl)      #REQUIRED -- directionality --
  270.   >
  271.  
  272. <!ELEMENT BASEFONT - O EMPTY           -- base font size -->
  273. <!ATTLIST BASEFONT
  274.   id          ID             #IMPLIED  -- document-wide unique id --
  275.   size        CDATA          #REQUIRED -- base font size for FONT elements --
  276.   color       %Color;        #IMPLIED  -- text color --
  277.   face        CDATA          #IMPLIED  -- comma separated list of font names --
  278.   >
  279.  
  280. <!ELEMENT FONT - - (%inline;)*         -- local change to font -->
  281. <!ATTLIST FONT
  282.   %coreattrs;                          -- id, class, style, title --
  283.   %i18n;                       -- lang, dir --
  284.   size        CDATA          #IMPLIED  -- [+|-]nn e.g. size="+1", size="4" --
  285.   color       %Color;        #IMPLIED  -- text color --
  286.   face        CDATA          #IMPLIED  -- comma separated list of font names --
  287.   >
  288.  
  289. <!ELEMENT BR - O EMPTY                 -- forced line break -->
  290. <!ATTLIST BR
  291.   %coreattrs;                          -- id, class, style, title --
  292.   clear       (left|all|right|none) none -- control of text flow --
  293.   >
  294.  
  295. <!--================== HTML content models ===============================-->
  296.  
  297. <!--
  298.     HTML has two basic content models:
  299.  
  300.         %inline;     character level elements and text strings
  301.         %block;      block-like elements e.g. paragraphs and lists
  302. -->
  303.  
  304. <!ENTITY % block
  305.      "P | %heading; | %list; | %preformatted; | DL | DIV | CENTER |
  306.       NOSCRIPT | NOFRAMES | BLOCKQUOTE | FORM | ISINDEX | HR |
  307.       TABLE | FIELDSET | ADDRESS">
  308.  
  309. <!ENTITY % flow "%block; | %inline;">
  310.  
  311. <!--=================== Document Body ====================================-->
  312.  
  313. <!ELEMENT BODY O O (%flow;)* +(INS|DEL) -- document body -->
  314. <!ATTLIST BODY
  315.   %attrs;                              -- %coreattrs, %i18n, %events --
  316.   onload          %Script;   #IMPLIED  -- the document has been loaded --
  317.   onunload        %Script;   #IMPLIED  -- the document has been removed --
  318.   background      %URI;      #IMPLIED  -- texture tile for document
  319.                                           background --
  320.   %bodycolors;                         -- bgcolor, text, link, vlink, alink --
  321.   >
  322.  
  323. <!ELEMENT ADDRESS - - ((%inline;)|P)*  -- information on author -->
  324. <!ATTLIST ADDRESS
  325.   %attrs;                              -- %coreattrs, %i18n, %events --
  326.   >
  327.  
  328. <!ELEMENT DIV - - (%flow;)*            -- generic language/style container -->
  329. <!ATTLIST DIV
  330.   %attrs;                              -- %coreattrs, %i18n, %events --
  331.   %align;                              -- align, text alignment --
  332.   %reserved;                           -- reserved for possible future use --
  333.   >
  334.  
  335. <!ELEMENT CENTER - - (%flow;)*         -- shorthand for DIV align=center -->
  336. <!ATTLIST CENTER
  337.   %attrs;                              -- %coreattrs, %i18n, %events --
  338.   >
  339.  
  340. <!--================== The Anchor Element ================================-->
  341.  
  342. <!ENTITY % Shape "(rect|circle|poly|default)">
  343. <!ENTITY % Coords "CDATA" -- comma separated list of lengths -->
  344.  
  345. <!ELEMENT A - - (%inline;)* -(A)       -- anchor -->
  346. <!ATTLIST A
  347.   %attrs;                              -- %coreattrs, %i18n, %events --
  348.   charset     %Charset;      #IMPLIED  -- char encoding of linked resource --
  349.   type        %ContentType;  #IMPLIED  -- advisory content type --
  350.   name        CDATA          #IMPLIED  -- named link end --
  351.   href        %URI;          #IMPLIED  -- URI for linked resource --
  352.   hreflang    %LanguageCode; #IMPLIED  -- language code --
  353.   target      %FrameTarget;  #IMPLIED  -- render in this frame --
  354.   rel         %LinkTypes;    #IMPLIED  -- forward link types --
  355.   rev         %LinkTypes;    #IMPLIED  -- reverse link types --
  356.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  357.   shape       %Shape;        rect      -- for use with client-side image maps --
  358.   coords      %Coords;       #IMPLIED  -- for use with client-side image maps --
  359.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  360.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  361.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  362.   >
  363.  
  364. <!--================== Client-side image maps ============================-->
  365.  
  366. <!-- These can be placed in the same document or grouped in a
  367.      separate document although this isn't yet widely supported -->
  368.  
  369. <!ELEMENT MAP - - ((%block;) | AREA)+ -- client-side image map -->
  370. <!ATTLIST MAP
  371.   %attrs;                              -- %coreattrs, %i18n, %events --
  372.   name        CDATA          #REQUIRED -- for reference by usemap --
  373.   >
  374.  
  375. <!ELEMENT AREA - O EMPTY               -- client-side image map area -->
  376. <!ATTLIST AREA
  377.   %attrs;                              -- %coreattrs, %i18n, %events --
  378.   shape       %Shape;        rect      -- controls interpretation of coords --
  379.   coords      %Coords;       #IMPLIED  -- comma separated list of lengths --
  380.   href        %URI;          #IMPLIED  -- URI for linked resource --
  381.   target      %FrameTarget;  #IMPLIED  -- render in this frame --
  382.   nohref      (nohref)       #IMPLIED  -- this region has no action --
  383.   alt         %Text;         #REQUIRED -- short description --
  384.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  385.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  386.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  387.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  388.   >
  389.  
  390. <!--================== The LINK Element ==================================-->
  391.  
  392. <!--
  393.   Relationship values can be used in principle:
  394.  
  395.    a) for document specific toolbars/menus when used
  396.       with the LINK element in document head e.g.
  397.         start, contents, previous, next, index, end, help
  398.    b) to link to a separate style sheet (rel=stylesheet)
  399.    c) to make a link to a script (rel=script)
  400.    d) by stylesheets to control how collections of
  401.       html nodes are rendered into printed documents
  402.    e) to make a link to a printable version of this document
  403.       e.g. a postscript or pdf version (rel=alternate media=print)
  404. -->
  405.  
  406. <!ELEMENT LINK - O EMPTY               -- a media-independent link -->
  407. <!ATTLIST LINK
  408.   %attrs;                              -- %coreattrs, %i18n, %events --
  409.   charset     %Charset;      #IMPLIED  -- char encoding of linked resource --
  410.   href        %URI;          #IMPLIED  -- URI for linked resource --
  411.   hreflang    %LanguageCode; #IMPLIED  -- language code --
  412.   type        %ContentType;  #IMPLIED  -- advisory content type --
  413.   rel         %LinkTypes;    #IMPLIED  -- forward link types --
  414.   rev         %LinkTypes;    #IMPLIED  -- reverse link types --
  415.   media       %MediaDesc;    #IMPLIED  -- for rendering on these media --
  416.   target      %FrameTarget;  #IMPLIED  -- render in this frame --
  417.   >
  418.  
  419. <!--=================== Images ===========================================-->
  420.  
  421. <!-- Length defined in strict DTD for cellpadding/cellspacing -->
  422. <!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length -->
  423. <!ENTITY % MultiLength "CDATA" -- pixel, percentage, or relative -->
  424.  
  425. <![ %HTML.Frameset; [
  426. <!ENTITY % MultiLengths "CDATA" -- comma-separated list of MultiLength -->
  427. ]]>
  428.  
  429. <!ENTITY % Pixels "CDATA" -- integer representing length in pixels -->
  430.  
  431. <!ENTITY % IAlign "(top|middle|bottom|left|right)" -- center? -->
  432.  
  433. <!-- To avoid problems with text-only UAs as well as 
  434.    to make image content understandable and navigable 
  435.    to users of non-visual UAs, you need to provide
  436.    a description with ALT, and avoid server-side image maps -->
  437. <!ELEMENT IMG - O EMPTY                -- Embedded image -->
  438. <!ATTLIST IMG
  439.   %attrs;                              -- %coreattrs, %i18n, %events --
  440.   src         %URI;          #REQUIRED -- URI of image to embed --
  441.   alt         %Text;         #REQUIRED -- short description --
  442.   longdesc    %URI;          #IMPLIED  -- link to long description
  443.                                           (complements alt) --
  444.   name        CDATA          #IMPLIED  -- name of image for scripting --
  445.   height      %Length;       #IMPLIED  -- override height --
  446.   width       %Length;       #IMPLIED  -- override width --
  447.   usemap      %URI;          #IMPLIED  -- use client-side image map --
  448.   ismap       (ismap)        #IMPLIED  -- use server-side image map --
  449.   align       %IAlign;       #IMPLIED  -- vertical or horizontal alignment --
  450.   border      %Pixels;       #IMPLIED  -- link border width --
  451.   hspace      %Pixels;       #IMPLIED  -- horizontal gutter --
  452.   vspace      %Pixels;       #IMPLIED  -- vertical gutter --
  453.   >
  454.  
  455. <!-- USEMAP points to a MAP element which may be in this document
  456.   or an external document, although the latter is not widely supported -->
  457.  
  458. <!--==================== OBJECT ======================================-->
  459. <!--
  460.   OBJECT is used to embed objects as part of HTML pages 
  461.   PARAM elements should precede other content. SGML mixed content
  462.   model technicality precludes specifying this formally ...
  463. -->
  464.  
  465. <!ELEMENT OBJECT - - (PARAM | %flow;)*
  466.  -- generic embedded object -->
  467. <!ATTLIST OBJECT
  468.   %attrs;                              -- %coreattrs, %i18n, %events --
  469.   declare     (declare)      #IMPLIED  -- declare but don't instantiate flag --
  470.   classid     %URI;          #IMPLIED  -- identifies an implementation --
  471.   codebase    %URI;          #IMPLIED  -- base URI for classid, data, archive--
  472.   data        %URI;          #IMPLIED  -- reference to object's data --
  473.   type        %ContentType;  #IMPLIED  -- content type for data --
  474.   codetype    %ContentType;  #IMPLIED  -- content type for code --
  475.   archive     %URI;          #IMPLIED  -- space separated archive list --
  476.   standby     %Text;         #IMPLIED  -- message to show while loading --
  477.   height      %Length;       #IMPLIED  -- override height --
  478.   width       %Length;       #IMPLIED  -- override width --
  479.   usemap      %URI;          #IMPLIED  -- use client-side image map --
  480.   name        CDATA          #IMPLIED  -- submit as part of form --
  481.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  482.   align       %IAlign;       #IMPLIED  -- vertical or horizontal alignment --
  483.   border      %Pixels;       #IMPLIED  -- link border width --
  484.   hspace      %Pixels;       #IMPLIED  -- horizontal gutter --
  485.   vspace      %Pixels;       #IMPLIED  -- vertical gutter --
  486.   %reserved;                           -- reserved for possible future use --
  487.   >
  488.  
  489. <!ELEMENT PARAM - O EMPTY              -- named property value -->
  490. <!ATTLIST PARAM
  491.   id          ID             #IMPLIED  -- document-wide unique id --
  492.   name        CDATA          #REQUIRED -- property name --
  493.   value       CDATA          #IMPLIED  -- property value --
  494.   valuetype   (DATA|REF|OBJECT) DATA   -- How to interpret value --
  495.   type        %ContentType;  #IMPLIED  -- content type for value
  496.                                           when valuetype=ref --
  497.   >
  498.  
  499. <!--=================== Java APPLET ==================================-->
  500. <!--
  501.   One of code or object attributes must be present.
  502.   Place PARAM elements before other content.
  503. -->
  504. <!ELEMENT APPLET - - (PARAM | %flow;)* -- Java applet -->
  505. <!ATTLIST APPLET
  506.   %coreattrs;                          -- id, class, style, title --
  507.   codebase    %URI;          #IMPLIED  -- optional base URI for applet --
  508.   archive     CDATA          #IMPLIED  -- comma separated archive list --
  509.   code        CDATA          #IMPLIED  -- applet class file --
  510.   object      CDATA          #IMPLIED  -- serialized applet file --
  511.   alt         %Text;         #IMPLIED  -- short description --
  512.   name        CDATA          #IMPLIED  -- allows applets to find each other --
  513.   width       %Length;       #REQUIRED -- initial width --
  514.   height      %Length;       #REQUIRED -- initial height --
  515.   align       %IAlign;       #IMPLIED  -- vertical or horizontal alignment --
  516.   hspace      %Pixels;       #IMPLIED  -- horizontal gutter --
  517.   vspace      %Pixels;       #IMPLIED  -- vertical gutter --
  518.   >
  519.  
  520. <!--=================== Horizontal Rule ==================================-->
  521.  
  522. <!ELEMENT HR - O EMPTY -- horizontal rule -->
  523. <!ATTLIST HR
  524.   %attrs;                              -- %coreattrs, %i18n, %events --
  525.   align       (left|center|right) #IMPLIED
  526.   noshade     (noshade)      #IMPLIED
  527.   size        %Pixels;       #IMPLIED
  528.   width       %Length;       #IMPLIED
  529.   >
  530.  
  531. <!--=================== Paragraphs =======================================-->
  532.  
  533. <!ELEMENT P - O (%inline;)*            -- paragraph -->
  534. <!ATTLIST P
  535.   %attrs;                              -- %coreattrs, %i18n, %events --
  536.   %align;                              -- align, text alignment --
  537.   >
  538.  
  539. <!--=================== Headings =========================================-->
  540.  
  541. <!--
  542.   There are six levels of headings from H1 (the most important)
  543.   to H6 (the least important).
  544. -->
  545.  
  546. <!ELEMENT (%heading;)  - - (%inline;)* -- heading -->
  547. <!ATTLIST (%heading;)
  548.   %attrs;                              -- %coreattrs, %i18n, %events --
  549.   %align;                              -- align, text alignment --
  550.   >
  551.  
  552. <!--=================== Preformatted Text ================================-->
  553.  
  554. <!-- excludes markup for images and changes in font size -->
  555. <!ENTITY % pre.exclusion "IMG|OBJECT|APPLET|BIG|SMALL|SUB|SUP|FONT|BASEFONT">
  556.  
  557. <!ELEMENT PRE - - (%inline;)* -(%pre.exclusion;) -- preformatted text -->
  558. <!ATTLIST PRE
  559.   %attrs;                              -- %coreattrs, %i18n, %events --
  560.   width       NUMBER         #IMPLIED
  561.   >
  562.  
  563. <!--===================== Inline Quotes ==================================-->
  564.  
  565. <!ELEMENT Q - - (%inline;)*            -- short inline quotation -->
  566. <!ATTLIST Q
  567.   %attrs;                              -- %coreattrs, %i18n, %events --
  568.   cite        %URI;          #IMPLIED  -- URI for source document or msg --
  569.   >
  570.  
  571. <!--=================== Block-like Quotes ================================-->
  572.  
  573. <!ELEMENT BLOCKQUOTE - - (%flow;)*     -- long quotation -->
  574. <!ATTLIST BLOCKQUOTE
  575.   %attrs;                              -- %coreattrs, %i18n, %events --
  576.   cite        %URI;          #IMPLIED  -- URI for source document or msg --
  577.   >
  578.  
  579. <!--=================== Inserted/Deleted Text ============================-->
  580.  
  581.  
  582. <!-- INS/DEL are handled by inclusion on BODY -->
  583. <!ELEMENT (INS|DEL) - - (%flow;)*      -- inserted text, deleted text -->
  584. <!ATTLIST (INS|DEL)
  585.   %attrs;                              -- %coreattrs, %i18n, %events --
  586.   cite        %URI;          #IMPLIED  -- info on reason for change --
  587.   datetime    %Datetime;     #IMPLIED  -- date and time of change --
  588.   >
  589.  
  590. <!--=================== Lists ============================================-->
  591.  
  592. <!-- definition lists - DT for term, DD for its definition -->
  593.  
  594. <!ELEMENT DL - - (DT|DD)+              -- definition list -->
  595. <!ATTLIST DL
  596.   %attrs;                              -- %coreattrs, %i18n, %events --
  597.   compact     (compact)      #IMPLIED  -- reduced interitem spacing --
  598.   >
  599.  
  600. <!ELEMENT DT - O (%inline;)*           -- definition term -->
  601. <!ELEMENT DD - O (%flow;)*             -- definition description -->
  602. <!ATTLIST (DT|DD)
  603.   %attrs;                              -- %coreattrs, %i18n, %events --
  604.   >
  605.  
  606. <!-- Ordered lists (OL) Numbering style
  607.  
  608.     1   arablic numbers     1, 2, 3, ...
  609.     a   lower alpha         a, b, c, ...
  610.     A   upper alpha         A, B, C, ...
  611.     i   lower roman         i, ii, iii, ...
  612.     I   upper roman         I, II, III, ...
  613.  
  614.     The style is applied to the sequence number which by default
  615.     is reset to 1 for the first list item in an ordered list.
  616.  
  617.     This can't be expressed directly in SGML due to case folding.
  618. -->
  619.  
  620. <!ENTITY % OLStyle "CDATA"      -- constrained to: "(1|a|A|i|I)" -->
  621.  
  622. <!ELEMENT OL - - (LI)+                 -- ordered list -->
  623. <!ATTLIST OL
  624.   %attrs;                              -- %coreattrs, %i18n, %events --
  625.   type        %OLStyle;      #IMPLIED  -- numbering style --
  626.   compact     (compact)      #IMPLIED  -- reduced interitem spacing --
  627.   start       NUMBER         #IMPLIED  -- starting sequence number --
  628.   >
  629.  
  630. <!-- Unordered Lists (UL) bullet styles -->
  631. <!ENTITY % ULStyle "(disc|square|circle)">
  632.  
  633. <!ELEMENT UL - - (LI)+                 -- unordered list -->
  634. <!ATTLIST UL
  635.   %attrs;                              -- %coreattrs, %i18n, %events --
  636.   type        %ULStyle;      #IMPLIED  -- bullet style --
  637.   compact     (compact)      #IMPLIED  -- reduced interitem spacing --
  638.   >
  639.  
  640. <!ELEMENT (DIR|MENU) - - (LI)+ -(%block;) -- directory list, menu list -->
  641. <!ATTLIST DIR
  642.   %attrs;                              -- %coreattrs, %i18n, %events --
  643.   compact     (compact)      #IMPLIED -- reduced interitem spacing --
  644.   >
  645. <!ATTLIST MENU
  646.   %attrs;                              -- %coreattrs, %i18n, %events --
  647.   compact     (compact)      #IMPLIED -- reduced interitem spacing --
  648.   >
  649.  
  650. <!ENTITY % LIStyle "CDATA" -- constrained to: "(%ULStyle;|%OLStyle;)" -->
  651.  
  652. <!ELEMENT LI - O (%flow;)*             -- list item -->
  653. <!ATTLIST LI
  654.   %attrs;                              -- %coreattrs, %i18n, %events --
  655.   type        %LIStyle;      #IMPLIED  -- list item style --
  656.   value       NUMBER         #IMPLIED  -- reset sequence number --
  657.   >
  658.  
  659. <!--================ Forms ===============================================-->
  660. <!ELEMENT FORM - - (%flow;)* -(FORM)   -- interactive form -->
  661. <!ATTLIST FORM
  662.   %attrs;                              -- %coreattrs, %i18n, %events --
  663.   action      %URI;          #REQUIRED -- server-side form handler --
  664.   method      (GET|POST)     GET       -- HTTP method used to submit the form--
  665.   enctype     %ContentType;  "application/x-www-form-urlencoded"
  666.   name        CDATA          #IMPLIED  -- name of form for scripting --
  667.   onsubmit    %Script;       #IMPLIED  -- the form was submitted --
  668.   onreset     %Script;       #IMPLIED  -- the form was reset --
  669.   target      %FrameTarget;  #IMPLIED  -- render in this frame --
  670.   accept-charset %Charsets;  #IMPLIED  -- list of supported charsets --
  671.   >
  672.  
  673. <!-- Each label must not contain more than ONE field -->
  674. <!ELEMENT LABEL - - (%inline;)* -(LABEL) -- form field label text -->
  675. <!ATTLIST LABEL
  676.   %attrs;                              -- %coreattrs, %i18n, %events --
  677.   for         IDREF          #IMPLIED  -- matches field ID value --
  678.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  679.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  680.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  681.   >
  682.  
  683. <!ENTITY % InputType
  684.   "(TEXT | PASSWORD | CHECKBOX |
  685.     RADIO | SUBMIT | RESET |
  686.     FILE | HIDDEN | IMAGE | BUTTON)"
  687.    >
  688.  
  689. <!-- attribute name required for all but submit and reset -->
  690. <!ELEMENT INPUT - O EMPTY              -- form control -->
  691. <!ATTLIST INPUT
  692.   %attrs;                              -- %coreattrs, %i18n, %events --
  693.   type        %InputType;    TEXT      -- what kind of widget is needed --
  694.   name        CDATA          #IMPLIED  -- submit as part of form --
  695.   value       CDATA          #IMPLIED  -- required for radio and checkboxes --
  696.   checked     (checked)      #IMPLIED  -- for radio buttons and check boxes --
  697.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  698.   readonly    (readonly)     #IMPLIED  -- for text and passwd --
  699.   size        CDATA          #IMPLIED  -- specific to each type of field --
  700.   maxlength   NUMBER         #IMPLIED  -- max chars for text fields --
  701.   src         %URI;          #IMPLIED  -- for fields with images --
  702.   alt         CDATA          #IMPLIED  -- short description --
  703.   usemap      %URI;          #IMPLIED  -- use client-side image map --
  704.   ismap       (ismap)        #IMPLIED  -- use server-side image map --
  705.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  706.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  707.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  708.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  709.   onselect    %Script;       #IMPLIED  -- some text was selected --
  710.   onchange    %Script;       #IMPLIED  -- the element value was changed --
  711.   accept      %ContentTypes; #IMPLIED  -- list of MIME types for file upload --
  712.   align       %IAlign;       #IMPLIED  -- vertical or horizontal alignment --
  713.   %reserved;                           -- reserved for possible future use --
  714.   >
  715.  
  716. <!ELEMENT SELECT - - (OPTGROUP|OPTION)+ -- option selector -->
  717. <!ATTLIST SELECT
  718.   %attrs;                              -- %coreattrs, %i18n, %events --
  719.   name        CDATA          #IMPLIED  -- field name --
  720.   size        NUMBER         #IMPLIED  -- rows visible --
  721.   multiple    (multiple)     #IMPLIED  -- default is single selection --
  722.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  723.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  724.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  725.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  726.   onchange    %Script;       #IMPLIED  -- the element value was changed --
  727.   %reserved;                           -- reserved for possible future use --
  728.   >
  729.  
  730. <!ELEMENT OPTGROUP - - (OPTION)+ -- option group -->
  731. <!ATTLIST OPTGROUP
  732.   %attrs;                              -- %coreattrs, %i18n, %events --
  733.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  734.   label       %Text;         #REQUIRED -- for use in hierarchical menus --
  735.   >
  736.  
  737. <!ELEMENT OPTION - O (#PCDATA)         -- selectable choice -->
  738. <!ATTLIST OPTION
  739.   %attrs;                              -- %coreattrs, %i18n, %events --
  740.   selected    (selected)     #IMPLIED
  741.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  742.   label       %Text;         #IMPLIED  -- for use in hierarchical menus --
  743.   value       CDATA          #IMPLIED  -- defaults to element content --
  744.   >
  745.  
  746. <!ELEMENT TEXTAREA - - (#PCDATA)       -- multi-line text field -->
  747. <!ATTLIST TEXTAREA
  748.   %attrs;                              -- %coreattrs, %i18n, %events --
  749.   name        CDATA          #IMPLIED
  750.   rows        NUMBER         #REQUIRED
  751.   cols        NUMBER         #REQUIRED
  752.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  753.   readonly    (readonly)     #IMPLIED
  754.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  755.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  756.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  757.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  758.   onselect    %Script;       #IMPLIED  -- some text was selected --
  759.   onchange    %Script;       #IMPLIED  -- the element value was changed --
  760.   %reserved;                           -- reserved for possible future use --
  761.   >
  762.  
  763. <!--
  764.   #PCDATA is to solve the mixed content problem,
  765.   per specification only whitespace is allowed there!
  766.  -->
  767. <!ELEMENT FIELDSET - - (#PCDATA,LEGEND,(%flow;)*) -- form control group -->
  768. <!ATTLIST FIELDSET
  769.   %attrs;                              -- %coreattrs, %i18n, %events --
  770.   >
  771.  
  772. <!ELEMENT LEGEND - - (%inline;)*       -- fieldset legend -->
  773. <!ENTITY % LAlign "(top|bottom|left|right)">
  774.  
  775. <!ATTLIST LEGEND
  776.   %attrs;                              -- %coreattrs, %i18n, %events --
  777.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  778.   align       %LAlign;       #IMPLIED  -- relative to fieldset --
  779.   >
  780.  
  781. <!ELEMENT BUTTON - -
  782.      (%flow;)* -(A|%formctrl;|FORM|ISINDEX|FIELDSET|IFRAME)
  783.      -- push button -->
  784. <!ATTLIST BUTTON
  785.   %attrs;                              -- %coreattrs, %i18n, %events --
  786.   name        CDATA          #IMPLIED
  787.   value       CDATA          #IMPLIED  -- sent to server when submitted --
  788.   type        (button|submit|reset) submit -- for use as form button --
  789.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  790.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  791.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  792.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  793.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  794.   %reserved;                           -- reserved for possible future use --
  795.   >
  796.  
  797. <!--======================= Tables =======================================-->
  798.  
  799. <!-- IETF HTML table standard, see [RFC1942] -->
  800.  
  801. <!--
  802.  The BORDER attribute sets the thickness of the frame around the
  803.  table. The default units are screen pixels.
  804.  
  805.  The FRAME attribute specifies which parts of the frame around
  806.  the table should be rendered. The values are not the same as
  807.  CALS to avoid a name clash with the VALIGN attribute.
  808.  
  809.  The value "border" is included for backwards compatibility with
  810.  <TABLE BORDER> which yields frame=border and border=implied
  811.  For <TABLE BORDER=1> you get border=1 and frame=implied. In this
  812.  case, it is appropriate to treat this as frame=border for backwards
  813.  compatibility with deployed browsers.
  814. -->
  815. <!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">
  816.  
  817. <!--
  818.  The RULES attribute defines which rules to draw between cells:
  819.  
  820.  If RULES is absent then assume:
  821.      "none" if BORDER is absent or BORDER=0 otherwise "all"
  822. -->
  823.  
  824. <!ENTITY % TRules "(none | groups | rows | cols | all)">
  825.   
  826. <!-- horizontal placement of table relative to document -->
  827. <!ENTITY % TAlign "(left|center|right)">
  828.  
  829. <!-- horizontal alignment attributes for cell contents -->
  830. <!ENTITY % cellhalign
  831.   "align      (left|center|right|justify|char) #IMPLIED
  832.    char       %Character;    #IMPLIED  -- alignment char, e.g. char=':' --
  833.    charoff    %Length;       #IMPLIED  -- offset for alignment char --"
  834.   >
  835.  
  836. <!-- vertical alignment attributes for cell contents -->
  837. <!ENTITY % cellvalign
  838.   "valign     (top|middle|bottom|baseline) #IMPLIED"
  839.   >
  840.  
  841. <!ELEMENT TABLE - -
  842.      (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)>
  843. <!ELEMENT CAPTION  - - (%inline;)*     -- table caption -->
  844. <!ELEMENT THEAD    - O (TR)+           -- table header -->
  845. <!ELEMENT TFOOT    - O (TR)+           -- table footer -->
  846. <!ELEMENT TBODY    O O (TR)+           -- table body -->
  847. <!ELEMENT COLGROUP - O (COL)*          -- table column group -->
  848. <!ELEMENT COL      - O EMPTY           -- table column -->
  849. <!ELEMENT TR       - O (TH|TD)+        -- table row -->
  850. <!ELEMENT (TH|TD)  - O (%flow;)*       -- table header cell, table data cell-->
  851.  
  852. <!ATTLIST TABLE                        -- table element --
  853.   %attrs;                              -- %coreattrs, %i18n, %events --
  854.   summary     %Text;         #IMPLIED  -- purpose/structure for speech output--
  855.   width       %Length;       #IMPLIED  -- table width --
  856.   border      %Pixels;       #IMPLIED  -- controls frame width around table --
  857.   frame       %TFrame;       #IMPLIED  -- which parts of frame to render --
  858.   rules       %TRules;       #IMPLIED  -- rulings between rows and cols --
  859.   cellspacing %Length;       #IMPLIED  -- spacing between cells --
  860.   cellpadding %Length;       #IMPLIED  -- spacing within cells --
  861.   align       %TAlign;       #IMPLIED  -- table position relative to window --
  862.   bgcolor     %Color;        #IMPLIED  -- background color for cells --
  863.   %reserved;                           -- reserved for possible future use --
  864.   datapagesize CDATA         #IMPLIED  -- reserved for possible future use --
  865.   >
  866.  
  867. <!ENTITY % CAlign "(top|bottom|left|right)">
  868.  
  869. <!ATTLIST CAPTION
  870.   %attrs;                              -- %coreattrs, %i18n, %events --
  871.   align       %CAlign;       #IMPLIED  -- relative to table --
  872.   >
  873.  
  874. <!--
  875. COLGROUP groups a set of COL elements. It allows you to group
  876. several semantically related columns together.
  877. -->
  878. <!ATTLIST COLGROUP
  879.   %attrs;                              -- %coreattrs, %i18n, %events --
  880.   span        NUMBER         1         -- default number of columns in group --
  881.   width       %MultiLength;  #IMPLIED  -- default width for enclosed COLs --
  882.   %cellhalign;                         -- horizontal alignment in cells --
  883.   %cellvalign;                         -- vertical alignment in cells --
  884.   >
  885.  
  886. <!--
  887.  COL elements define the alignment properties for cells in
  888.  one or more columns.
  889.  
  890.  The WIDTH attribute specifies the width of the columns, e.g.
  891.  
  892.      width=64        width in screen pixels
  893.      width=0.5*      relative width of 0.5
  894.  
  895.  The SPAN attribute causes the attributes of one
  896.  COL element to apply to more than one column.
  897. -->
  898. <!ATTLIST COL                          -- column groups and properties --
  899.   %attrs;                              -- %coreattrs, %i18n, %events --
  900.   span        NUMBER         1         -- COL attributes affect N columns --
  901.   width       %MultiLength;  #IMPLIED  -- column width specification --
  902.   %cellhalign;                         -- horizontal alignment in cells --
  903.   %cellvalign;                         -- vertical alignment in cells --
  904.   >
  905.  
  906. <!--
  907.     Use THEAD to duplicate headers when breaking table
  908.     across page boundaries, or for static headers when
  909.     TBODY sections are rendered in scrolling panel.
  910.  
  911.     Use TFOOT to duplicate footers when breaking table
  912.     across page boundaries, or for static footers when
  913.     TBODY sections are rendered in scrolling panel.
  914.  
  915.     Use multiple TBODY sections when rules are needed
  916.     between groups of table rows.
  917. -->
  918. <!ATTLIST (THEAD|TBODY|TFOOT)          -- table section --
  919.   %attrs;                              -- %coreattrs, %i18n, %events --
  920.   %cellhalign;                         -- horizontal alignment in cells --
  921.   %cellvalign;                         -- vertical alignment in cells --
  922.   >
  923.  
  924. <!ATTLIST TR                           -- table row --
  925.   %attrs;                              -- %coreattrs, %i18n, %events --
  926.   %cellhalign;                         -- horizontal alignment in cells --
  927.   %cellvalign;                         -- vertical alignment in cells --
  928.   bgcolor     %Color;        #IMPLIED  -- background color for row --
  929.   >
  930.  
  931.  
  932. <!-- Scope is simpler than axes attribute for common tables -->
  933. <!ENTITY % Scope "(row|col|rowgroup|colgroup)">
  934.  
  935. <!-- TH is for headers, TD for data, but for cells acting as both use TD -->
  936. <!ATTLIST (TH|TD)                      -- header or data cell --
  937.   %attrs;                              -- %coreattrs, %i18n, %events --
  938.   abbr        %Text;         #IMPLIED  -- abbreviation for header cell --
  939.   axis        CDATA          #IMPLIED  -- names groups of related headers--
  940.   headers     IDREFS         #IMPLIED  -- list of id's for header cells --
  941.   scope       %Scope;        #IMPLIED  -- scope covered by header cells --
  942.   rowspan     NUMBER         1         -- number of rows spanned by cell --
  943.   colspan     NUMBER         1         -- number of cols spanned by cell --
  944.   %cellhalign;                         -- horizontal alignment in cells --
  945.   %cellvalign;                         -- vertical alignment in cells --
  946.   nowrap      (nowrap)       #IMPLIED  -- suppress word wrap --
  947.   bgcolor     %Color;        #IMPLIED  -- cell background color --
  948.   width       %Pixels;       #IMPLIED  -- width for cell --
  949.   height      %Pixels;       #IMPLIED  -- height for cell --
  950.   >
  951.  
  952. <!--================== Document Frames ===================================-->
  953.  
  954. <!--
  955.   The content model for HTML documents depends on whether the HEAD is
  956.   followed by a FRAMESET or BODY element. The widespread omission of
  957.   the BODY start tag makes it impractical to define the content model
  958.   without the use of a marked section.
  959. -->
  960.  
  961. <![ %HTML.Frameset; [
  962. <!ELEMENT FRAMESET - - ((FRAMESET|FRAME)+ & NOFRAMES?) -- window subdivision-->
  963. <!ATTLIST FRAMESET
  964.   %coreattrs;                          -- id, class, style, title --
  965.   rows        %MultiLengths; #IMPLIED  -- list of lengths,
  966.                                           default: 100% (1 row) --
  967.   cols        %MultiLengths; #IMPLIED  -- list of lengths,
  968.                                           default: 100% (1 col) --
  969.   onload      %Script;       #IMPLIED  -- all the frames have been loaded  -- 
  970.   onunload    %Script;       #IMPLIED  -- all the frames have been removed -- 
  971.   >
  972. ]]>
  973.  
  974. <![ %HTML.Frameset; [
  975. <!-- reserved frame names start with "_" otherwise starts with letter -->
  976. <!ELEMENT FRAME - O EMPTY              -- subwindow -->
  977. <!ATTLIST FRAME
  978.   %coreattrs;                          -- id, class, style, title --
  979.   longdesc    %URI;          #IMPLIED  -- link to long description
  980.                                           (complements title) --
  981.   name        CDATA          #IMPLIED  -- name of frame for targetting --
  982.   src         %URI;          #IMPLIED  -- source of frame content --
  983.   frameborder (1|0)          1         -- request frame borders? --
  984.   marginwidth %Pixels;       #IMPLIED  -- margin widths in pixels --
  985.   marginheight %Pixels;      #IMPLIED  -- margin height in pixels --
  986.   noresize    (noresize)     #IMPLIED  -- allow users to resize frames? --
  987.   scrolling   (yes|no|auto)  auto      -- scrollbar or none --
  988.   >
  989. ]]>
  990.  
  991. <!ELEMENT IFRAME - - (%flow;)*         -- inline subwindow -->
  992. <!ATTLIST IFRAME
  993.   %coreattrs;                          -- id, class, style, title --
  994.   longdesc    %URI;          #IMPLIED  -- link to long description
  995.                                           (complements title) --
  996.   name        CDATA          #IMPLIED  -- name of frame for targetting --
  997.   src         %URI;          #IMPLIED  -- source of frame content --
  998.   frameborder (1|0)          1         -- request frame borders? --
  999.   marginwidth %Pixels;       #IMPLIED  -- margin widths in pixels --
  1000.   marginheight %Pixels;      #IMPLIED  -- margin height in pixels --
  1001.   scrolling   (yes|no|auto)  auto      -- scrollbar or none --
  1002.   align       %IAlign;       #IMPLIED  -- vertical or horizontal alignment --
  1003.   height      %Length;       #IMPLIED  -- frame height --
  1004.   width       %Length;       #IMPLIED  -- frame width --
  1005.   >
  1006.  
  1007. <![ %HTML.Frameset; [
  1008. <!ENTITY % noframes.content "(BODY) -(NOFRAMES)">
  1009. ]]>
  1010.  
  1011. <!ENTITY % noframes.content "(%flow;)*">
  1012.  
  1013. <!ELEMENT NOFRAMES - - %noframes.content;
  1014.  -- alternate content container for non frame-based rendering -->
  1015. <!ATTLIST NOFRAMES
  1016.   %attrs;                              -- %coreattrs, %i18n, %events --
  1017.   >
  1018.  
  1019. <!--================ Document Head =======================================-->
  1020. <!-- %head.misc; defined earlier on as "SCRIPT|STYLE|META|LINK|OBJECT" -->
  1021. <!ENTITY % head.content "TITLE & ISINDEX? & BASE?">
  1022.  
  1023. <!ELEMENT HEAD O O (%head.content;) +(%head.misc;) -- document head -->
  1024. <!ATTLIST HEAD
  1025.   %i18n;                               -- lang, dir --
  1026.   profile     %URI;          #IMPLIED  -- named dictionary of meta info --
  1027.   >
  1028.  
  1029. <!-- The TITLE element is not considered part of the flow of text.
  1030.        It should be displayed, for example as the page header or
  1031.        window title. Exactly one title is required per document.
  1032.     -->
  1033. <!ELEMENT TITLE - - (#PCDATA) -(%head.misc;) -- document title -->
  1034. <!ATTLIST TITLE %i18n>
  1035.  
  1036. <!ELEMENT ISINDEX - O EMPTY            -- single line prompt -->
  1037. <!ATTLIST ISINDEX
  1038.   %coreattrs;                          -- id, class, style, title --
  1039.   %i18n;                               -- lang, dir --
  1040.   prompt      %Text;         #IMPLIED  -- prompt message -->
  1041.  
  1042. <!ELEMENT BASE - O EMPTY               -- document base URI -->
  1043. <!ATTLIST BASE
  1044.   href        %URI;          #IMPLIED  -- URI that acts as base URI --
  1045.   target      %FrameTarget;  #IMPLIED  -- render in this frame --
  1046.   >
  1047.  
  1048. <!ELEMENT META - O EMPTY               -- generic metainformation -->
  1049. <!ATTLIST META
  1050.   %i18n;                               -- lang, dir, for use with content --
  1051.   http-equiv  NAME           #IMPLIED  -- HTTP response header name  --
  1052.   name        NAME           #IMPLIED  -- metainformation name --
  1053.   content     CDATA          #REQUIRED -- associated information --
  1054.   scheme      CDATA          #IMPLIED  -- select form of content --
  1055.   >
  1056.  
  1057. <!ELEMENT STYLE - - %StyleSheet        -- style info -->
  1058. <!ATTLIST STYLE
  1059.   %i18n;                               -- lang, dir, for use with title --
  1060.   type        %ContentType;  #REQUIRED -- content type of style language --
  1061.   media       %MediaDesc;    #IMPLIED  -- designed for use with these media --
  1062.   title       %Text;         #IMPLIED  -- advisory title --
  1063.   >
  1064.  
  1065. <!ELEMENT SCRIPT - - %Script;          -- script statements -->
  1066. <!ATTLIST SCRIPT
  1067.   charset     %Charset;      #IMPLIED  -- char encoding of linked resource --
  1068.   type        %ContentType;  #REQUIRED -- content type of script language --
  1069.   language    CDATA          #IMPLIED  -- predefined script language name --
  1070.   src         %URI;          #IMPLIED  -- URI for an external script --
  1071.   defer       (defer)        #IMPLIED  -- UA may defer execution of script --
  1072.   event       CDATA          #IMPLIED  -- reserved for possible future use --
  1073.   for         %URI;          #IMPLIED  -- reserved for possible future use --
  1074.   >
  1075.  
  1076. <!ELEMENT NOSCRIPT - - (%flow;)*
  1077.   -- alternate content container for non script-based rendering -->
  1078. <!ATTLIST NOSCRIPT
  1079.   %attrs;                              -- %coreattrs, %i18n, %events --
  1080.   >
  1081.  
  1082. <!--================ Document Structure ==================================-->
  1083. <!ENTITY % version "version CDATA #FIXED '%HTML.Version;'">
  1084.  
  1085. <![ %HTML.Frameset; [
  1086. <!ENTITY % html.content "HEAD, FRAMESET">
  1087. ]]>
  1088.  
  1089. <!ENTITY % html.content "HEAD, BODY">
  1090.  
  1091. <!ELEMENT HTML O O (%html.content;)    -- document root element -->
  1092. <!ATTLIST HTML
  1093.   %i18n;                               -- lang, dir --
  1094.   %version;
  1095.   >
  1096.